import { auth } from '@/util/index'

const Layout = () => import('@/layout/index.vue')

export default {
    path: '/labcontroller',
    component: Layout,
    redirect: '/labcontroller',
    name: 'labcontroller.management',
    meta: {
        title: '实验室检测数据',
        icon: 'el-icon-DataAnalysis'
    },
    children: [
        {
            path: 'labcontrollermanagement1',
            name: 'labcontrollermanagement1',
            component: () => import('@/views/examine_manage/examine.vue'),
            meta: {
                title: '实验室数据',
                auth: ["teacher", "student"]
            }
        },
        {
            path: 'labcontrollermanagement2',
            name: 'labcontrollermanagement2',
            component: () => import('@/views/equipment_management/equipment_application.vue'),
            meta: {
                title: '实验室控制',
                auth: ["teacher", "student"]
            }
        },
    ]
}
